package com.you.common.service.client;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.you.common.service.MemberInfoService;

public class ServiceExplorer {

    private static final ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath:common-application-context.xml");

    public static MemberInfoService getMemberInfoService() {
        return (MemberInfoService) context.getBean("memberInfoService");

    }
    
    public static void main(String[] args) {
        context.getBean("memberDAO");   
    }
}
